---
title: 'Logz.io'
description: 'Configuring the Logz.io backend (Managed)'
sidebarTitle: 'Logz.io'
icon: 'signal-stream'
---

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/logzio.svg" alt="logzio" className="not-prose h-20" />

{/*
    Add custom content here (under this comment)...

    e.g.

    **Creating Account**<br />
    Go to the **[🔗 website](https://odigos.io) > Account** and click **Sign Up**

    **Obtaining Access Token**<br />
    Go to **⚙️ > Access Tokens** and click **Create New**

    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! START CUSTOM EDIT !!
*/}

**Finding Logz.io Region**

You can find your account’s region by selecting **⚙️ > Settings > General** from the top menu. Your two-letter region code is at the start of the region designation.
Another option is to sign in to your Logz.io account and look at the URL in the address bar.

If you see `app.logz.io`, your account is hosted in the US East (Northern Virginia). All other regions have a two-letter region code. For example, if you see `app-eu.logz.io`, then your account is in the Europe (Frankfurt) region.

**Obtaining Tokens**

From your account, go to the **Manage Tokens > Data shipping** tokens tab of your Operations workspace.
It can be reached by selecting **⚙️ > Settings > Manage tokens** in the ADMIN ZONE section of the side navigation menu.

{/*
    !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
    !! END CUSTOM EDIT !!
*/}

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ✅ Metrics
  ✅ Logs
</Accordion>

- **LOGZIO_REGION** `string` : Region. The region of your Logz.io account
  - This field is required
- **LOGZIO_TRACING_TOKEN** `string` : Tracing token. The token you obtained from Logz.io
  - This field is optional
- **LOGZIO_METRICS_TOKEN** `string` : Metrics token. The token you obtained from Logz.io
  - This field is optional
- **LOGZIO_LOGS_TOKEN** `string` : Logs token. The token you obtained from Logz.io
  - This field is optional

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI
    ```bash
    odigos ui
    ```
  </Step>
  <Step>
    Click on `Add Destination`, select `Logz.io` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `logzio.yaml`)
    ```yaml
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: logzio-example
      namespace: odigos-system
    spec:
      data:
        LOGZIO_REGION: '<Region (options: [listener.logz.io, listener-au.logz.io, listener-ca.logz.io,
          listener-eu.logz.io, listener-nl.logz.io, listener-uk.logz.io, listener-wa.logz.io])>'
      destinationName: logzio
      # Uncomment the 'secretRef' below if you are using the optional Secret.
      # secretRef:
      #   name: logzio-secret
      signals:
      - TRACES
      - METRICS
      - LOGS
      type: logzio

    ---

    # The following Secret is optional. Uncomment the entire block if you need to use it.
    # apiVersion: v1
    # data:
    #   LOGZIO_LOGS_TOKEN: <Base64 Logs token>
    #   LOGZIO_METRICS_TOKEN: <Base64 Metrics token>
    #   LOGZIO_TRACING_TOKEN: <Base64 Tracing token>
    # kind: Secret
    # metadata:
    #   name: logzio-secret
    #   namespace: odigos-system
    # type: Opaque
    ```
  </Step>
  <Step>
    Apply the YAML using `kubectl`
    ```bash
    kubectl apply -f logzio.yaml
    ```
  </Step>
</Steps>